﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace UmlDesigner.Gui
{
    public partial class NewFileDialog : Form
    {
        public NewFileDialog()
        {
            InitializeComponent();
        }

        public string FileName
        {
            get
            {
                return name;
            }
        }

        public string FilePath
        {
            get
            {
                return path;
            }
        }

        public string Selected
        {
            get
            {
                return selectedDiagram;
            }
        }

        private string name;
        private string path;
        private string selectedDiagram;

        private void okButton_Click(object sender, EventArgs e)
        {
            name = nameTextBox.Text;
            path = pathComboBox.Text;
            //selectedDiagram = diagramListbox.
            selectedDiagram = "";
        }
    }
}
